package com.qf.pojo;



import java.util.Date;

/**
 * @author Kuke
 * @date 2022/3/21 10:11
 */

public class User {


        private Integer  userId ;//用户编号

        private String userName  ;//用户名

        private String  userBirthday ;//出生日期

        private String userAddress  ;//地址
        private UserInfo userInfo;//用户详情

        public User() {
        }

        public UserInfo getUserInfo() {
                return userInfo;
        }

        public void setUserInfo(UserInfo userInfo) {
                this.userInfo = userInfo;
        }

        public User(Integer userId, String userName, String userBirthday, String userAddress, UserInfo userInfo) {
                this.userId = userId;
                this.userName = userName;
                this.userBirthday = userBirthday;
                this.userAddress = userAddress;
                this.userInfo = userInfo;
        }

        public Integer getUserId() {
                return userId;
        }

        public void setUserId(Integer userId) {
                this.userId = userId;
        }

        public String getUserName() {
                return userName;
        }

        public void setUserName(String userName) {
                this.userName = userName;
        }

        public String getUserBirthday() {
                return userBirthday;
        }

        public void setUserBirthday(String userBirthday) {
                this.userBirthday = userBirthday;
        }

        public String getUserAddress() {
                return userAddress;
        }

        public void setUserAddress(String userAddress) {
                this.userAddress = userAddress;
        }

        @Override
        public String toString() {
                return "User{" +
                        "userId=" + userId +
                        ", userName='" + userName + '\'' +
                        ", userBirthday='" + userBirthday + '\'' +
                        ", userAddress='" + userAddress + '\'' +
                        ", userInfo=" + userInfo +
                        '}';
        }
}
